A good answer might be:

Yes. This is part of the reason for the popularity of Java.

Applets

An applet is a Java bytecode program that runs on a Web browser. Most up-to-date Web browsers include a Java interpreter. A Web page on a host computer on the Internet can contain instructions that send Java bytecodes to a client computer (like yours) that has asked to view the page. The Web browser on the client runs the Java applet with its built-in interpreter.

Often applets are used for complicated user interaction, or for graphics and animation that can't otherwise be done in a Web page. Applets will be discussed in later chapters of these notes. For now, let us concentrate on Java programs that do their input from the keyboard and do their output to the DOS window of the monitor. These will be called Java application programs.

QUESTION 7:

Is the language used to write applets different from that used to write applications?